import Vue from 'vue'
import Router from 'vue-router'
import TelephoneTraffic from '../view/serviceHotline/page/telephoneTraffic'
Vue.use(Router)
export default new Router({
  routes: [
    {
      path: '/',
      name: 'home',
      component: () => import('@/view/home'),
      meta: { title: '首页' }
    },
    {
      path: '/onLineService',
      name: 'onLineService',
      component: () => import('@/view/onLineService/index'),
      meta: { title: '在线客服' }
    },
    {
      path: '/telephoneTraffic',
      name: 'telephoneTraffic',
      component: TelephoneTraffic,
      meta: { title: '96199热线' }
    },
    {
      path: '/lwyd',
      name: 'lwyd',
      component: () => import('@/view/lwyd/index'),
      meta: { title: '两微一端', keepAlive: true }
    }

  ]
})
